#include <cstdio>

#include <string>

#include <iostream>

#include <vector>



using namespace std;



int main() {

	vector<string> vec;

	vec.push_back("helloqqq");

	vec.push_back("wo");

	vec.push_back("world7777777");

	vec.push_back("world");
	
	vec.push_back("worldixxxxxxxxxxxxxxxxxxxxxxxx");
	
	vec.push_back("worldixxxxxxxxxxxxxxxxxxxxxxxx");

	/*
	vector<double> vec;

	vec.push_back(1);

	vec.push_back(2);

	vec.push_back(3);

	vec.push_back(4);
	//*/



	for(vector<string>::iterator it = vec.begin();

			it != vec.end(); ++it) {

		cout << *it << endl;

		printf("%p\n", &*it);
		printf("%p\n", & (*(*it).c_str()) );

	}

	cout << endl;
}
